package me.huangxiang.design_pattern.strategy;

public class MallardDuck extends Duck {
    public MallardDuck() {
        FlyBehavior flyBehavior =  new FlyWithWings();
        QuackBehavior quackBehavior = new Quack();
        this.flyBehavior = flyBehavior;
        this.quackBehavior = quackBehavior;
    }

}
